package crawl;

/**
 */
public class UrlInfo {

    public UrlInfo(String url) {
        this.url = url;
    }

    public UrlInfo() {
    }

    /**
     * 0 http
     * 1 https
     */
    private Integer protocal = 0;

    private String host = "";

    private String path = "";

    private String url;

    public String getUrl() {
        return url;
    }

    public void setUrl(String url) {
        this.url = url;
    }

    public Integer getProtocal() {
        return protocal;
    }

    public void setProtocal(Integer protocal) {
        this.protocal = protocal;
    }

    public String getHost() {
        return host;
    }

    public void setHost(String host) {
        this.host = host;
    }

    public String getPath() {
        return path;
    }

    public void setPath(String path) {
        this.path = path;
    }
}
